#include "show.h"
#include "untrasonic.h"
extern u16 ADV[],Carport_Line;
extern int CCD_Zhongzhi,Encoder_A,Encoder_B;
void Oled_Show(void)
{
    u8 ch1[]="Motor_A:";
	  u8 ch2[]="Motor_B:";
	  u8 ch3[]="barrier:";
	  //u8 ch4[]="Car_Line:";
	  OLED_Clear();
		OLED_ShowString(00,0,ch1);
	  OLED_ShowNumber(80,0,Encoder_A,4,12);
    OLED_ShowString(00,12,ch2);
  	OLED_ShowNumber(80,12,Encoder_B,4,12);
	  OLED_ShowString(00,24,ch3);
	  //OLED_ShowNumber(80,24,Get_Untrasonic_Value(),4,12);
	   //OLED_ShowString(00,36,ch4);
	  OLED_ShowNumber(80,36,Carport_Line,2,12);
  	OLED_Refresh_Gram();
}
